package com.landscope.issue.mapper;

import com.landscope.issue.controller.api.dto.WarningDto;
import com.landscope.issue.entity.Alarmmsg;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AlarmmsgMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Alarmmsg record);

    int insertSelective(Alarmmsg record);

    Alarmmsg selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Alarmmsg record);

    int updateByPrimaryKey(Alarmmsg record);

    List<WarningDto> findByCode(@Param("code") String code,
                                @Param("startTime") String startTime,
                                @Param("endTime") String endTime);
}